#!/usr/bin/env sh

if [ $# -lt 2 ]; then
	echo "invalid number of parameters"
fi

if pacman -Qi imagemagick > /dev/null; then
	convert "$1" \( +clone -background black -shadow 70x70+0+0 \) +swap -background none -layers merge +repage "$2"
fi

# vim: ft=sh:
